<template>
  <!-- 返回 开始 -->
  <div class="back_white">
    <button class="back" @click="goOff()">
      <img src="../assets/back.png">
    </button>
  </div>
  <!-- 返回 结束 -->
</template>
<script>
export default {
  methods: {
    goOff() {
      this.$router.go(-1);
    },
  },
};
</script>

<style>
/* 返回 */

.back_white .back {
  width: 50px;
  height: 50px;
  position: fixed;
  top: 2%;
  left: 50%;
  transform: translate(-380%, 0);
  border: 0;
  background-color: transparent;
}
.back_white .back > img {
  width: 25px;
  margin: 0 auto;
}
</style>